<template>
  <div class="system-config">
    <el-card shadow="never">
      <template #header>
        <div class="card-header">
          <h2>系统配置</h2>
        </div>
      </template>

      <el-tabs v-model="activeTab">
        <el-tab-pane label="基本配置" name="basic">
          <BasicConfig />
        </el-tab-pane>
        <el-tab-pane label="站点信息" name="site">
          <SiteConfig />
        </el-tab-pane>
        <el-tab-pane label="安全设置" name="security">
          <SecurityConfig />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import BasicConfig from './components/BasicConfig.vue'
import SiteConfig from './components/SiteConfig.vue'
import SecurityConfig from './components/SecurityConfig.vue'

const activeTab = ref('basic')
</script>

<style scoped>
.system-config {
  padding: 20px;
}
</style>